import request from '@/utils/request/index.js'
export default {
	getSampleBookList(page,limit,userId){
		return request.request({
			url: '/h5/nocsamplebook/list',
			method: 'post',
			data:{
				page: page,
				limit: limit,
				userId: userId
			}
		})
	},
	deleteByDelFlag(ids){
		return request.request({
			url: '/h5/nocsamplebook/deleteByDelFlag',
			method: 'post',
			data:{
				ids: ids
			}
		})
	},
	
	getSamplebookInfoById(id) {
		return request.request({
			url: '/h5/nocsamplebook/info/' + id,
			method: 'get',
			data: {}
		})
	},
	updateSample(samplebook){
		return request.request({
			url: '/h5/nocsamplebook/update',
			method: 'post',
			data: samplebook
		})
	}
}
